
{template "content","head","sysx_m"}
<div class="bg pad15">
    <div class="nytitle">
        <a href="/">首页</a> >
        {catpos($catid,$s='>')}
    </div>
    <div class="nytitle" style="background: none;color:#fff;height: auto;margin-left:auto;padding: 0 2% 1% 2%">
        {pc:content action="category" catid="4" order="listorder asc"}
        {loop $data $r}
        <a  href="{$r[url]}" class="layui-btn layui-btn-mini" style="display:inline-block;width:24%;color:#fff;background:#ccc;margin-top: 5px;margin-left:0 !important;{if $catid==$r[catid]}background-color:#f39801;color:#fff{/if}">{$r[catname]}</a>
        {/loop}
        {/pc}
    </div>

    {pc:content action="lists" catid="$catid" num="7" page="$_GET[page]" moreinfo="1" order="updatetime DESC"}
    {loop $data $r}
    <div class="zj1"><span><img src="{if $r[thumb]}{$r[thumb]}{else}{IMG_PATH}wutu.jpg{/if}" width="120" height="100" /></span><h3>{str_cut($r[title],68)}</h3>
        <p>
            {str_cut(strip_tags($r[content]),120)}
            <a href="{$r[url]}">【详情】</a></p>
        <div style="clear:both;"></div>
    </div>
    {/loop}
    {/pc}
</div>
<div style="width: 80%;margin:10px auto">{$pages}</div>

<div class="bg">
    <div class="title"><a href="{$CATEGORYS[2][url]}">更多</a><h2>推荐产品</h2></div>
    <div id="rzt_box">
        <ul class="pinglun" id="rzt_box1">
            {pc:content action="lists" catid="2" moreinfo="1" num="8" order="rand()"}
            {loop $data $r}
            <li>
                <a href="{$r[url]}">
                <div class="tx"><img src="{$r[thumb]}" width="120" height="100" /></div>
                <div class="pl">
                    <h2>{$r[title]}</h2>
                    <p>
                        {str_cut(strip_tags($r[content]),120)}</p>
                    <h3><span>{date("Y-m-d",$r[updatetime])}</span></h3>
                </div>
                </a>
                <div style="clear:both;"></div>
            </li>
            {/loop}
            {/pc}
        </ul>
        <ul class="pinglun" id="rzt_box2">
            {pc:content action="lists" catid="89" moreinfo="1" num="8" order="rand()"}
            {loop $data $r}
            <li>
                <a href="{$r[url]}">
                    <div class="tx"><img src="{$r[thumb]}" width="120" height="100" /></div>
                    <div class="pl">
                        <h2>{$r[title]}</h2>
                        <p>
                            {str_cut(strip_tags($r[content]),120)}</p>
                        <h3><span>{date("Y-m-d",$r[updatetime])}</span></h3>
                    </div>
                </a>
                <div style="clear:both;"></div>
            </li>
            {/loop}
            {/pc}
        </ul>
    </div>
</div>
{template "content","foot","sysx_m"}
